package com.ilancuo.extend;

/**
 * 测试接口的多继承概念
 * Created by ilancuo on 2018/9/11.
 */
interface A {
    void doA();
}

interface B {
    void doB();
}

interface C {
    void doC();
}

interface D extends A, B, C {}

public class TestInterface implements A {
    @Override
    public void doA() {

    }
}

class TestInterface2 implements D {

    @Override
    public void doA() {

    }

    @Override
    public void doB() {

    }

    @Override
    public void doC() {

    }
}
